package cn.ffcs.uec.staff.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.staff.dao.UecPsnjobDao;
import cn.ffcs.uec.staff.manager.UecPsnjobManager;
import cn.ffcs.uec.staff.model.UecPsnjob;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("uecPsnjobManager")
@Scope("prototype")
public class UecPsnjobManagerImpl implements UecPsnjobManager {

	@Resource
	private UecPsnjobDao uecPsnjobDao;

	@Override
	public PageInfo queryPageInfoByUecPsnjob(UecPsnjob uecPsnjob, int current,
			int pageSize) {
		return uecPsnjobDao.queryPageInfoByUecPsnjob(uecPsnjob, current,
				pageSize);
	}

	@Override
	public UecPsnjob queryUecPsnjob(UecPsnjob uecPsnjob) {
		return uecPsnjobDao.queryUecPsnjob(uecPsnjob);
	}
	
	@Override
	public UecPsnjob findUecPsnjob(UecPsnjob uecPsnjob) {
		return uecPsnjobDao.findUecPsnjob(uecPsnjob);
	}
	
	@Override
	public UecPsnjob findUecPsnjobInProcess(UecPsnjob uecPsnjob) {
		return uecPsnjobDao.findUecPsnjobInProcess(uecPsnjob);
	}

	@Override
	public UecPsnjob findUecPsnjobById(UecPsnjob uecPsnjob) {
		return uecPsnjobDao.findUecPsnjobById(uecPsnjob);
	}

	@Override
	public UecPsnjob findUecPsnjobOnApproval(UecPsnjob uecPsnjob) {
		return uecPsnjobDao.findUecPsnjobOnApproval(uecPsnjob);
	}

	@Override
	public UecPsnjob findNewUecPsnjob(UecPsnjob uecPsnjob) {
		return uecPsnjobDao.findNewUecPsnjob(uecPsnjob);
	}

}
